package com.zy.cat.entity.game;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Index;
import javax.persistence.Table;

import org.springframework.beans.BeanUtils;

import com.alibaba.fastjson.JSON;
import com.zy.cat.entity.primary.CardDrawEntryInfoPrimary;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @info 9趣猫刮刮卡条目图片金额配置实体类
 * @author Link
 * @date 2019-10-30 09:14
 */
@Entity
@Table(name = "zy_cat_game_card_entry_conf", indexes = {
		@Index(name = "id", columnList = "id")})
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("9趣猫刮刮卡条目图片金额配置实体类")
public class CardDrawBannerConf{
	
	@Id
	@Column(columnDefinition = "INT(32) NOT NULL  COMMENT '配置记录ID[9趣猫刮刮卡条目图片金额配置实体类]'")
	@ApiModelProperty(value = "配置记录ID", example = "1101")
	private Integer id;
	
	
	@Column(columnDefinition = "VARCHAR(10) DEFAULT '0' COMMENT '奖励金额'")
	@ApiModelProperty(value = "奖励金额", example = "200")
	private String amount;
		
	@Column(name = "entry_icon",columnDefinition = "VARCHAR(150) DEFAULT NULL COMMENT '条目图片地址'")
	@ApiModelProperty(value = "条目图片地址", example = "http://")
	private String entryIcon;
	
	@Column(name = "small_icon",columnDefinition = "VARCHAR(150) DEFAULT NULL COMMENT '小图标图片地址'")
	@ApiModelProperty(value = "小图标图片地址", example = "http://")
	private String smallIcon;
	
	@Column(columnDefinition = "INT(3) DEFAULT '0' COMMENT '卡数'")
	@ApiModelProperty(value = "卡数", example = "1")
	private int cards;
	
	@Column(columnDefinition = "INT(10) DEFAULT '0' COMMENT '刮奖类型(1.1元、2.2元、3.5元、4.10元、5.20元、6.50元、7.80元、8.100元、9.200元、10.500元、11.1000元、12.1500元)'")
	@ApiModelProperty(value = "刮奖类型(1.1元、2.2元、3.5元、4.10元、5.20元、6.50元、7.80元、8.100元、9.200元、10.500元、11.1000元、12.1500元)", example = "1")
	private int gtype;
	
	@Column(columnDefinition = "INT(10) DEFAULT '0' COMMENT '刮刮卡状态,0-不可挂，1可刮'")
	@ApiModelProperty(value = "刮刮卡状态,0-不可挂，1可刮", example = "1")
	private int status;
	
	@Column(columnDefinition = "INT(10) DEFAULT '0' COMMENT '排序字段'")
	@ApiModelProperty(value = "排序字段", example = "1")
	private int sort;
}
